<?php

namespace App\Http\Controllers;

use App\Logic\UserLogic;
use Illuminate\Http\Request;

class UserController extends Controller
{
    public function index(Request $request)
    {
        $id1 = intval($request->get('id1', 1));
        $id2 = intval($request->get('id2',1));
        return (new UserLogic())->login($id1, $id2);
    }
}
